package com.qijian.maindata.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * 班组关联小组长对象 fm_factory_user
 *
 * @author qijian
 * @date 2021-12-17
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("fm_factory_user")
public class FactoryUser extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "主键")
    private Long id;

    /** 区域ID */
    @Excel(name = "区域ID")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "区域ID")
    private Long factoryId;

    /** 员工ID */
    @Excel(name = "员工ID")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "员工ID")
    private Long userId;

    /** 员工 */
    @Excel(name = "员工")
    @ApiModelProperty(value = "员工")
    private String nickName;

}
